Is there a DXL script the uncheck Affect Change Bars on multiple attributes? I don't want to go through opening each attribute and unchecking it. |
Re: Uncheck Affect Change Bars
Here's a basic script that will uncheck the "Affect Change Bars" property on all non System and Non DXL type attribute definitions within a module. It assumes that you have access rights to modify these attribute definitions.
AttrType at
AttrDef ad
for ad in current Module do {
if (ad.system) {
print ad.name " [SYSTEM ATTR - No Change]\n\n" //Cannot modify built-in System attributes
}
elseif (ad.dxl) print ad.name " [DXL ATTR - No Change]\n\n" //Not applicable to DXL attributes
else {
ad = modify(ad, setBars, false) //Apply to Custom defined attributes only
print ad.name " [CUSTOM ATTR - Change applied]\n\n"
}
}
Paul Miller
|
Re: Uncheck Affect Change Bars SystemAdmin - Mon Jan 30 18:07:02 EST 2012
Here's a basic script that will uncheck the "Affect Change Bars" property on all non System and Non DXL type attribute definitions within a module. It assumes that you have access rights to modify these attribute definitions.
AttrType at
AttrDef ad
for ad in current Module do {
if (ad.system) {
print ad.name " [SYSTEM ATTR - No Change]\n\n" //Cannot modify built-in System attributes
}
elseif (ad.dxl) print ad.name " [DXL ATTR - No Change]\n\n" //Not applicable to DXL attributes
else {
ad = modify(ad, setBars, false) //Apply to Custom defined attributes only
print ad.name " [CUSTOM ATTR - Change applied]\n\n"
}
}
Paul Miller
|